<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <script th:src="@{/webjars/jquery/3.3.0/jquery.min.js}"></script>
    <link th:href="@{/webjars/bootstrap/3.3.7/css/bootstrap.min.css}" rel="stylesheet"/>
    <script th:src="@{/webjars/bootstrap/3.3.7/js/bootstrap.min.js}"></script>
    <link th:href="@{/css/update.css}" rel="stylesheet"/>
    <title>update</title>
    <link th:href="@{/css/addAndModify.css}" rel="stylesheet"/>

</head>
<body>
    <form action="/user/handleUpdate" method="post">
        <div id="user">
            <div class="form-group">
                    <div class="input-group">
                        <input type="hidden" class="form-control" name="id" th:value="${user1.id}"/>
                    </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon" id="name">姓名</span>
                    <input type="text" class="form-control" name="name" th:placeholder="${user1.name}"  aria-describedby="name"/>
                </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon" id="password">密码</span>
                    <input  type="password" class="form-control" name="password" th:placeholder="${user1.password}" aria-describedby="password"/>
                </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon" id="email">邮箱</span>
                    <input type="text" class="form-control" name="email" th:placeholder="${user1.email}" aria-describedby="email"/>
                </div>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <span class="input-group-addon" id="age">年纪</span>
                    <input type="text" class="form-control" name="age" th:placeholder="${user1.age}" aria-describedby="age"/>
                </div>
            </div>
                <input id="submit" type="submit" class="btn btn-primary" value="提交"/>
        </div>
    </form>
</body>
</html>